#include "widget.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
        QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);

    QApplication a(argc, argv);

    // 子控件选择器
    QString style = "QComboBox::down-arrow { image: url(:/pull.png); }";
    a.setStyleSheet(style);

    Widget w;
    w.show();
    return a.exec();
}
